package com.itlaobing.dataaccess.dao;

import com.itlaobing.dataaccess.entity.Employee;

import java.util.List;

public interface EmployeeDao {

    int save(Employee employee);

    int remove(Integer id);

    int update(Employee employee);

    Employee find(Integer id);

    List<Employee> findAll();

    List<Employee> list(String name);

    Integer nextId();
}
